//
//  HeaRateViewCtrl.h
//  AccuroFit
//
//  Created by Yongfeng Li on 8/11/15.
//  Copyright (c) 2015 Nci Technology Inc. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NIDropDownList.h"
#import "UICurveView.h"
#import "BaseViewController.h"
//@interface HeaRateViewCtrl : UIViewController <NIDropDownDelegate, NcitBleDevDelegate, CurveViewDataSource, CurveViewDelegate, UIGestureRecognizerDelegate>
@protocol HeaRateViewCtrlDelegate <NSObject>

-(void)getDeviceName:(NSString *)deviceName;

@end

@interface HeaRateViewCtrl : BaseViewController <NIDropDownDelegate, NcitBleDevDelegate, CurveViewDataSource, CurveViewDelegate>
@property (strong, nonatomic) id<HeaRateViewCtrlDelegate> delegate;
@property (retain, nonatomic)NSMutableArray*  m_aHrateMemData;
@property (retain, nonatomic)NSMutableArray*  m_aHrateItemMemData;


-(void) setHrmMeasPoint:(NSInteger)nHrateId hrate:(H_Rate*)pHrate dtStart:(NSDate*)dtPoint calry:(CGFloat)fCalry dur:(CGFloat*)pfDurHrate size:(short)nCount;

-(void) showMessage:(NSString*)sMsg;
//- (void) EnableDownloadHrmMemory;
@end
